/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.mer.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.kaaction.common.persistence.CrudDao;
import com.kaaction.common.persistence.annotation.MyBatisDao;
import com.kaaction.modules.mer.entity.Address;

/**
 * 地址信息DAO接口
 * @author huanghaiming
 * @version 2017-05-17
 */
@MyBatisDao
public interface AddressDao extends CrudDao<Address> {

	int selectCnt(String thirdpartyId);

	List<Map<String, Object>> selAddress(Address address);

	void updateIsDefault(String thirdpartyId);

	void updateAddress(Address address);

	void updateAddr(@Param("thirdpartyId")String thirdpartyId,@Param("id")String id);

	void updIsDef(Address address);

	
}